import express from 'express'
import { addGroup, getAllGroup, delGroup, updateGroup, delManyGroup, getAllGroupTwo, bindRoles } from '../components/group.js'

const router = express.Router()

router.post('/group/addGroup',addGroup)
router.post('/group/getAllGroup',getAllGroup)
router.post('/group/delGroup',delGroup)
router.post('/group/updateGroup',updateGroup)
router.post('/group/delManyGroup',delManyGroup)
router.post('/group/getAllGroupTwo',getAllGroupTwo)
router.post('/group/bindRoles',bindRoles)

export default router